let myHandler = async function (event, context, callback, logger) {
  // 1. 获取客户端提交的数据包参数(客户端通过云函数触发的参数在event.body中)
  logger.info(event);
  // console.log(event.num1,event.num2)
  let body = JSON.parse(event.body)
  let n = body.num1 + body.num2
  // do something here


  // 2. 向客户端下发云函数执行结果
  callback({
    code: 0,
    data:{
      "result":n,
      // "event":event,
      // "context":context,
    },
    desc: "Success."
  });
};

export { myHandler };


